package com.muyu.system.danmo.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;

/**
 * @author yinxucun
 * @date 2022/10/18 15:52
 */

@Getter
@ApiModel
public enum RefundStatus {

    NONE(1,"未退款"),

    ALL(2,"全部退款");

    @EnumValue
    @JsonValue
    private final int code;

    private final String name;

    RefundStatus(int code, String name) {
        this.code = code;
        this.name = name;
    }
}
